package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class BuyCar {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.print("请输入你的存款（万作为单位）：");
        double money=in.nextDouble();
        if(money>=500){
            System.out.println("保10洁卡宴");
        }else if(money>10 && money<=50){
            System.out.println("广本");
        }else if(money>50){
            System.out.println("买一辆BMW");
        }else if(money>5){
            System.out.println("二手奇瑞");
        }else{
            System.out.println("2手二八大杠");
        }
    }
}
